//
// Created by zhuyijun on 2021/8/16.
//

#include <string>

namespace pers {
    struct Person {
        std::string fname;
        std::string lname;
    };

    void getPerson(Person &);

    void showPerson(const Person &);
}
namespace debts {
    using namespace pers;
    struct Debt {
        Person name;
        double amount;
    };

    void getDebt(Debt &);

    void showDebt(const Debt &);

    double sumDebts(const Debt ar[], int n);
}



